<!--
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2024-07-17 18:12:56
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-08-06 18:02:28
 * @FilePath: \flex-\1 canvas 基础 —— webworker.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .board {
            width: 1002px;
            height: 502px;
            border: 1px solid;
            display: flex;
            margin: 0 auto;
        }
        #myCanvas {
            margin: auto;
        }
    </style>
</head>
<body>
    <div class="board">
        <canvas width="1000px" height="500" id="myCanvas"></canvas>
    </div>
</body>
<script src="./1.js"></script>
</html>